﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using System.Data;
using DTO;

namespace BLL
{
	public class GROUPBUS
	{
		public static DataTable GetListgr()
		{
			GROUPDAO b = new GROUPDAO();
			return b.GetListGR();
		}
		public static List<GROUP> GetListgrs()
		{
			GROUPDAO b = new GROUPDAO();
			return b.GetListGRs();
		}
		public static String CreateNewID()
		{
			GROUPDAO b = new GROUPDAO();
			return b.CreatenewId();
		}
		public static bool INSERT(GROUP gr)
		{
			GROUPDAO b = new GROUPDAO();
			return b.INSERT(gr);
		}
		public static bool UPDATE(GROUP gr)
		{
			GROUPDAO b = new GROUPDAO();
			return b.UPDATE(gr);
		}
		public static bool DELETE(GROUP gr)
		{
			GROUPDAO b = new GROUPDAO();
			return b.DELETE(gr);
		}
	}
}
